package com.daoliuhe.scaffold.service;

import com.daoliuhe.scaffold.model.Role;

import java.util.List;
import java.util.Map;

public interface RoleService {

	Role getById(String id);
	
	void saveOrUpdate(Role role);
	
	Map<String, Object> getPageData(Role role);
	
	List<Role> getRoleList(Role role);
	
	boolean isRightName(String name, String id);
	
}
